:host{
  .item-det {
    position: relative;
    width: 100%;
    padding: .6rem .4rem .2rem .4rem;
    line-height: 3.8rem;
    border-bottom: 1px solid #f2f2f2;
    p {
      margin: 0;
      white-space: nowrap;
    }
    ion-img {
      position: absolute;
      right: .6rem;
      top: .3rem;
      bottom: 0;
      margin: auto;
      width: 1rem;
      //height: 2rem;
      //background: url("../assets/imgs/icon_jyjl_arrow_d@2x.png") no-repeat center;
      background-size: 1.2rem;
    }
    span:nth-child(1) {
      //font-size: 1.5rem;
      color: #060606;
      margin-right: .2rem;
    }
    span:nth-child(2) {
      //font-size: 1.5rem;
      color: #2a6a9a;
      margin-right: 1rem;
    }
    .time-sel {
      float: right;
      position: relative;
      width: 14rem;
      .txt {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        line-height: 1.4rem;
        //font-size: 1.4rem;
        height: 1.4rem;
      }
    }
    .time-star {
      position: relative;
      text-align: center;
      float: left;
      width: 6.2rem;
      ion-datetime {
        padding: 0;
      }
    }
    .time-end {
      position: relative;
      text-align: center;
      float: right;
      width: 6.2rem;
      ion-datetime {
        padding: 0;
      }
    }
  }

  ion-button {
    --background: #6474c6;
    --color: rgba(255, 255, 255, 0.98);
    --border-color: #7b02ff;
  }
  //.cl-btn {
  //  width: 100%;
  //  color: #ffffff;
  //  text-align: center;
  //  border-radius: .6rem;
  //  max-height: 3rem;
  //  //background-color: #497bf2;
  //  margin: 1.3rem auto 0.6rem auto;
  //}

  .cl-segment-line {
    height: .6rem;
    width: 100%;
    background-color: #e7e7e7;
    margin: 1.0rem auto 2.5rem auto;
  }

  .alert {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 9999;
    .alert-close {
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .3);
    }
    .alert-main {
      position: absolute;
      bottom: 0;
      width: 100%;
      -webkit-transition: all 1s;
      -moz-transition: all 1s;
      -ms-transition: all 1s;
      -o-transition: all 1s;
      transition: all 1s;
      .alert-list {
        height: 20rem;
        overflow: hidden;
        overflow-y: auto;
        background: #FFF;
        div {
          position: relative;
          p {
            //font-size: 1.8rem;
            padding: 0 2rem;
          }
          ion-img {
            position: absolute;
            width: 14px;
            height: 14px;
            //background: url("../assets/imgs/icon_choosed.png") no-repeat;
            background-size: 14px;
            right: 30px;
            top: 0;
            bottom: 0;
            margin: auto;
          }
        }
      }
      .alert-cancel {
        line-height: 49px;
        background: #FFF;
        border-top: 10px solid #f2f2f2;
        text-align: center;
        font-size: 15px;
        color: #1677cb;
      }
    }
    .alert-main.on {
      bottom: 0;
    }
  }



  .cl-card-layout {
    margin: .4rem .1rem !important;
    width: 100% !important;
    border-radius: 0;
    p {
      float: left;
      width: 100%;
      font-size: 1.6rem;
      text-align: center;
      font-weight: bolder;
      line-height: 2.3rem;
      padding: .3rem .2rem;
      margin: .6rem 0 1.8rem 0;
      background-color: #d0f3ff;
    }
  }

  .cl-card-header {
    margin: 1rem;
    img {
      width: 2.0rem;
      margin: .4rem .6rem;
      float: left;
    }
    span:nth-of-type(1) {
      font-weight: 500;
      margin: .6rem;
      display: inline;
      float: left
    }
    span:nth-of-type(2) {
      float: right;
      margin: .6rem;
      display: inline;
      color: #bbbbbb;
      font-size: 13px
    }
  }

  .main_content {
    padding: 1rem .2rem;
    ul {
      margin: 0;
      padding: 0;
      li {
        position: relative;
        display: block;
        //height:10.5rem;
        list-style: none;
        margin-top: 1rem;
        border: .55px solid #EEEEEE;
        border-radius: .5rem;

        .out_data {
          background: #c0c0c0;
        }
        .coupon-txt {
          width: 100%;
          padding-left: .5rem;
          padding-right: .5rem;
          .cl-info {
            margin: .6rem 1.8rem;
          }
          p {
            font-size: 1.1rem;
          }
          .coupon_name {
            font-size: 1.5rem;
            line-height: 1.5rem;
            margin-top: .5rem;
            max-height: 1.6rem;
            min-height: 1.5rem;
            padding-right: .5rem;
            margin-bottom: .5rem;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 30%;
            float: left;
          }
          .coupon_time {
            font-size: 1.5rem;
            line-height: 1.5rem;
            margin-top: .5rem;
            max-height: 1.6rem;
            min-height: 1.5rem;
            padding-right: .5rem;
            margin-bottom: .5rem;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #888;
            position: relative;
            float: left;
            width: 64%;
            margin-left: 1.2rem;
            img {
              position: absolute;
              width: 6rem;
              height: 2.2rem;
              top: -.45rem;
              right: .5rem;
            }
          }
          .coupon_info {
            color: #6474c6;
            line-height: 2.4rem;
            border-top: .55px dashed #d8dde2;
            position: relative;
            margin: 0;
            text-align: center;
            img {
              position: absolute;
              width: .8rem;
              height: .45rem;
              top: 0.9rem;
              right: 9.6rem;
            }
          }
        }
        .coupon-txt.used {
          position: relative;
          img.coupon_used {
            width: 5.3rem;
            height: 5.3rem;
            position: absolute;
            top: 1.2rem;
            right: .6rem;
            z-index: 5;
          }
          .coupon_name {
            float: left;
            color: #666666;
          }
        }
      }
      .active {
        box-shadow: 0 3px 5px rgba(98, 109, 122, .1);
        border-bottom: none;
      }
      li:nth-of-type(1) {
        margin-top: 0;
      }
      .hide_info {
        border: .55px solid #EEEEEE;
        border-top: none;
        border-bottom-left-radius: .5rem;
        border-bottom-right-radius: .5rem;
        margin-top: -5px;
        padding: 1.5rem;
        color: #888888;
        font-size: 1.1rem;
        line-height: 1.4rem;
        background-color: #fff;
      }
      .empty {
        text-align: center;
        p {
          font-size: 1.3rem;
          color: #999;
        }
        img {
          display: block;
          width: 6.4rem;
          height: 5rem;
          margin: auto;
          margin-top: 6.3rem;
          margin-bottom: 2.7rem;
        }
      }
    }
  }
}

